// 测试API响应的脚本
const axios = require('axios');

async function testApi() {
  try {
    const response = await axios.get('http://localhost:3001/api/skills/1');
    console.log('API响应状态码:', response.status);
    console.log('API响应数据:');
    console.log(JSON.stringify(response.data, null, 2));
  } catch (error) {
    console.error('API请求失败:', error.message);
  }
}

testApi();